package com.cos.shop.dao;

import com.cos.shop.entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductDao {

    Long getProductCoun(int tid)throws SQLException;

    List<Product> getProductByPage(int tid, int startRow, int pageSize) throws SQLException;

    Product getProductByPid(int pid)throws SQLException;

}
